package com.example.makerspace.dao;

import com.example.makerspace.domain.CompetitionParentDO;
import com.example.makerspace.mapper.CompetitionParentMapper;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class CompetitionParentDAO extends  BaseDAO<CompetitionParentDO>{
    @Resource
    private CompetitionParentMapper competitionParentMapper;

    @PostConstruct
    public void init(){
        this.mapper = competitionParentMapper;
    }
}
